<%--
  Created by IntelliJ IDEA.
  User: liushiyin
  Date: 17-11-17
  Time: 上午10:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <link rel="shortcut icon" href="res/icon.png"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>博客登录界面</title>
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <!--必要样式-->
    <link href="css/styles.css" rel="stylesheet" type="text/css" />
    <link href="css/demolg.css" rel="stylesheet" type="text/css" />
    <link href="css/loaders.css" rel="stylesheet" type="text/css" />
</head>
<body style="background-image:url('img/bg.jpg')">
<div class='login'>
    <div class='login_title'>
        <span>作者登录</span>
    </div>
    <form method="post" action="EditBlog.jsp">
    <div class='login_fields'>
        <div class='login_fields__user'>
            <div class='icon'>
                <img alt="" src='img/user_icon_copy.png'>
            </div>
            <input name="login" placeholder='用户名' maxlength="30" type='text' autocomplete="off" value="liushiyin"/>
            <div class='validation'>
                <img alt="" src='img/tick.png'>
            </div>
        </div>
        <div class='login_fields__password'>
            <div class='icon'>
                <img alt="" src='img/lock_icon_copy.png'>
            </div>
            <input name="pwd" placeholder='密码' size="30" maxlength="30" type='text' autocomplete="off">
            <div class='validation'>
                <img alt="" src='img/tick.png'>
            </div>
        </div>
        <div class='login_fields__submit'>
            <input type="submit" value='登录编辑'>
            <a href="MyBlog.jsp"><input type='button' value='查看博客'></a>
            <a href="index.jsp"><input type='button' value='前往首页'></a>
        </div>
    </div>
    </form>
    <%
        String error=(String) request.getAttribute("error");
        if(error!=null){
            out.print("<div class='disclaimer'>登录失败</div>");
        }else{
            out.print("<div class='disclaimer'>写博客啦＾＾</div>");
        }
    %>
</div>
<div class="OverWindows"></div>
<link href="layui/css/layui.css" rel="stylesheet" type="text/css" />
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
<script type="text/javascript" src="js/jquery-ui.min.js"></script>
<script type="text/javascript" src='js/stopExecutionOnTimeout.js?t=1'></script>
<script src="layui/layui.js" type="text/javascript"></script>
<script src="js/Particleground.js" type="text/javascript"></script>
<script src="Js/Treatment.js" type="text/javascript"></script>
<script src="js/jquery.mockjax.js" type="text/javascript"></script>
</body>
</html>
